public static function isCompiled( $compiledDir, $basename )
	{
		$extensions = array( 'json', 'zip' );
		// Make sure the dir ends in /
		$compiledDir = rtrim( $compiledDir, '/' ) . "/";

		foreach ( $extensions as $extension )
		{
			$compiledFile = "$compiledDir$basename.$extension";
			if ( ! file_exists( $compiledFile ) ) continue;
			return $compiledFile;
		}

		return false;
	}