def has_family_and_given_name(po):
    """ returns True when a Person object has both family and given name
    """
    if isinstance(po.familyName, str) and len(po.familyName) > 0:
        if isinstance(po.givenName, str) and len(po.givenName) > 0:
            return True
    return False