def is_local_file(file_location):
 return (not re.match('[a-z]+://', file_location))

def is_local_file ( file_location ) : return ( not re . match ( '[a-z]+://' , file_location ) )
check if file is in the local file system .