/** * Determines if the image is a valid image type. * * @since 1.0 * @access public * @param string * @return */ public function isValid() { if (!$this->image) { return false; } // @TODO: Additional checks that we should perform ourselves. return $this->adapter->is_format_supported($this->meta->info['mime']); }