Is there a more elegant way to check is function output is not false? If not, is the second method good solution if function is costly?
def get_fist_last_name