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
static function canUpdateDirectory($directory) {
// This is a lousy test, but don't know how else to confirm it is a theme.
if (file_scan_directory($directory, '/.*\\.module$/')) {
return FALSE;
}
return TRUE;
}