def is_production_filename(filename):
 return (('test' not in filename) and ('docs' not in filename))

def is_production_filename ( filename ) : return ( ( 'test' not in filename ) and ( 'docs' not in filename ) )
checks if the file contains production code .