parameters: (mode)
return_statement: return S_IFMT(mode) == S_IFDIR
docstring: Return True if mode is from a directory.
docstring_summary: Return True if mode is from a directory.
docstring_tokens: Return True if mode is from a directory .
function: def S_ISDIR(mode):
      """Return True if mode is from a directory."""
      return S_IFMT(mode) == S_IFDIR
function_tokens: def S_ISDIR ( mode ) : return S_IFMT ( mode ) == S_IFDIR