parameters: (file_name)
return_statement: return extension in checked_extensions
docstring: Returns True if the given file is a type we want to check.
docstring_summary: Returns True if the given file is a type we want to check.
docstring_tokens: Returns True if the given file is a type we want to check .
function: def ShouldCheckFile(file_name):
    """Returns True if the given file is a type we want to check."""
    checked_extensions = [
        '.h',
        '.cc',
        '.m',
        '.mm',
    ]
    basename, extension = os.path.splitext(file_name)
    return extension in checked_extensions
function_tokens: def ShouldCheckFile ( file_name ) : checked_extensions = [ '.h' , '.cc' , '.m' , '.mm' , ] basename , extension = os . path . splitext ( file_name ) return extension in checked_extensions