public static function mappingExists() { $instance = new static(); $mapping = $instance->getMapping(); return empty($mapping) ? false : true; }