def METHOD_NAME(self, language=None):
    first_line = self.get_first_line()
    if first_line:
        if first_line.startswith(SHEBANG):
            if language is None:
                return True
            elif language in first_line:
                return True
    return False