if (empty($this->mimetypes)) 
is better imo.