def METHOD_NAME(hp):
    """
    Rule reports a response if there is more than 1 host
    entry defined in the /etc/hosts file.
    Arguments:
        hp (HostParser): Parser object for the custom parser in this
            module.
    """
    if len(hp.hosts) > 1:
        return make_fail("TOO_MANY_HOSTS", num=len(hp.hosts))
    return make_pass("TOO_MANY_HOSTS", num=len(hp.hosts))