Determine if the Updater can handle the project provided in $directory.
@todo: Provide something more rational here, like a project spec file.
string $directory:
bool TRUE if the project is installed, FALSE if not.
Overrides DrupalUpdaterInterface::canUpdateDirectory
public static function canUpdateDirectory($directory) {
if (file_scan_directory($directory, '/.*\\.module$/')) {
return TRUE;
}
return FALSE;
}