Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
Write a function true_names() that takes a logical vector and returns the names of the elements with the value TRUE in case there are names. Otherwise return NULL.
Be sure to include the necessary checks and messages for the user.