def _is_valid_age(user_age):
    """
    Determines if the age is valid.
    Args:
        user_age: Age to test.

    Returns:
        bool: If the age is valid.

    """
    if type(user_age) != int:
        return False
    elif user_age < 0:
        return False
    return True