src/Image.php
private function checkCacheValid( $cacheFile )
	{
		if ( file_exists( $cacheFile ) && ( filemtime( $cacheFile ) >  filemtime( $this->filePath ) ) )
		{
			return true;
		}

		return false;
	}
private function checkCacheValid( $cacheFile )
	{
		if ( file_exists( $cacheFile ) && ( filemtime( $cacheFile ) >  filemtime( $this->filePath ) ) )
		{
			return true;
		}

		return false;
	}
private function checkCacheValid ( $ cacheFile ) { if ( file_exists ( $ cacheFile ) && ( filemtime ( $ cacheFile ) > filemtime ( $ this -> filePath ) ) ) { return true ; } return false ; }
Returns true if the cache file exists and is current.

@param mixed $cacheFile
@return bool
Returns true if the cache file exists and is current .