public static function installed( $directory, $package ) {
		$command = 'composer show ' . $package . ' -D';

		try {
			App::execute( $command, $directory );
		} catch ( ProcessFailedException $e ) {
			return false;
		}

		return true;
	}