def is_requirements_empty(requirements_file_path):
    """
    Tests to see if a pip requirements.txt file is empty.

    :param requirements_file_path: the path to the requirements.txt file
    :return:                       True if it is empty, False otherwise

    """
    fp = open(requirements_file_path)
    line_count = 0
    for line in fp.readlines():
        line = line.strip()
        #
        # Skip blank lines, or comment lines
        #
        if not line or line.startswith('#'):
            continue
        line_count += 1
    return line_count == 0