def IsPackageDir(path, packageName, knownFileName):
 import os
 if (knownFileName is None):
  knownFileName = '.'
 return FileExists(os.path.join(os.path.join(path, packageName), knownFileName))

def IsPackageDir ( path , packageName , knownFileName ) : import os if ( knownFileName is None ) : knownFileName = '.' return FileExists ( os . path . join ( os . path . join ( path , packageName ) , knownFileName ) )
given a path .