def check_homepage(package_info, *args):
    """
    Does the package have a homepage listed?
    :param package_info: package_info dictionary
    :return: Tuple (is the condition True or False?, reason if it is False else None)
    """
    reason = "Home page missing"
    result = False

    if package_info.get('home_page') not in BAD_VALUES:
        result = True

    return result, reason, HAS_HOMEPAGE
Does the package have a homepage listed?
    :param package_info: package_info dictionary
    :return: Tuple (is the condition True or False?, reason if it is False else None)