src/Console/VendorExposeCommand.php
protected function isPathModule($path)
    {
        return file_exists(Util::joinPaths($path, '_config'))
            || file_exists(Util::joinPaths($path, '_config.php'));
    }
protected function isPathModule($path)
    {
        return file_exists(Util::joinPaths($path, '_config'))
            || file_exists(Util::joinPaths($path, '_config.php'));
    }
protected function isPathModule ( $ path ) { return file_exists ( Util :: joinPaths ( $ path , '_config' ) ) || file_exists ( Util :: joinPaths ( $ path , '_config.php' ) ) ; }
Check if the given path is a silverstripe module

@param string $path
@return bool
Check if the given path is a silverstripe module