(ref)
return os.path.isfile(ref)
Returns true if the provided reference is a file and exists.
Returns true if the provided reference is a file and exists.
Returns true if the provided reference is a file and exists .
def IsValidFile(ref):
  """Returns true if the provided reference is a file and exists."""
  return os.path.isfile(ref)
def IsValidFile ( ref ) : return os . path . isfile ( ref )