@staticmethod
def include_is_header(config_file, file_name, include_name):
    """Return True if include name has header extension.

        Keyword arguments:
        config_file -- Config object
        file_name -- file name string
        include_name -- include name string

        Returns true if include name is a header.
        """
    if not config_file.is_header_file(include_name):
        print('Error: ' + file_name + ": include '" + include_name +
            "' has extension not in header list")
        return False
    else:
        return True
