(filename)
return os.path.isfile(filename)
Returns whether the named file is a regular file.

  Args:
    filename: path to a file.
  Returns:
    bool: whether the file is a regular file.
Returns whether the named file is a regular file.
Returns whether the named file is a regular file .
def IsFile(filename):
  """Returns whether the named file is a regular file.

  Args:
    filename: path to a file.
  Returns:
    bool: whether the file is a regular file.
  """
  return os.path.isfile(filename)
def IsFile ( filename ) : return os . path . isfile ( filename )