#NEWLINE# @ classmethod #NEWLINE# def is_local_file( cls , * keys ) : #NEWLINE# #INDENT# file_path = '' #NEWLINE# typing = [ ] #NEWLINE# for val in keys : #NEWLINE# #INDENT# if isinstance ( val , Keys ) : #NEWLINE# #INDENT# typing . append ( val ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( val , int ) : #NEWLINE# #INDENT# val = val . __str__ ( ) #NEWLINE# for i in range ( len ( val ) ) : #NEWLINE# #INDENT# typing . append ( keys [ i ] ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for i in range ( len ( val ) ) : #NEWLINE# #INDENT# typing . append ( val [ i ] ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# file_path = '' . join ( typing ) #NEWLINE# if ( file_path is '' ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# if os . path . isfile ( file_path ) : #NEWLINE# #INDENT# return file_path #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return None