core/Module/ModuleHelper.php
public static function hasInstall( string $name, bool $result_id = false ): bool
	{
		if( $name === "@core" )
		{
			return Helper::isSystemInstall(true) ? ($result_id ? 0 : true) : false;
		}

		try {
			$row = self::getModuleScheme($name, false, ["id", "install"]);
		}
		catch(NotFoundException $e) {
			return false;
		}

		if( $row->install < 1 )
		{
			return false;
		}

		return $result_id ? (int) $row->id : true;
	}
public static function hasInstall( string $name, bool $result_id = false ): bool
	{
		if( $name === "@core" )
		{
			return Helper::isSystemInstall(true) ? ($result_id ? 0 : true) : false;
		}

		try {
			$row = self::getModuleScheme($name, false, ["id", "install"]);
		}
		catch(NotFoundException $e) {
			return false;
		}

		if( $row->install < 1 )
		{
			return false;
		}

		return $result_id ? (int) $row->id : true;
	}
public static function hasInstall ( string $ name , bool $ result_id = false ) : bool { if ( $ name === "@core" ) { return Helper :: isSystemInstall ( true ) ? ( $ result_id ? 0 : true ) : false ; } try { $ row = self :: getModuleScheme ( $ name , false , [ "id" , "install" ] ) ; } catch ( NotFoundException $ e ) { return false ; } if ( $ row -> install < 1 ) { return false ; } return $ result_id ? ( int ) $ row -> id : true ; }
Has module install

@param string $name
@param bool $result_id
@return bool
Has module install