code: protected function validateMandatoryAttribs() {
  			// Iterate over all fields
  	    	foreach ( static::$mandatoryFields as $field ) {
  	    		// If the field does not exist then exit with exception
  	    		if ( !array_key_exists($field, $this->attributes) ) {
  	    			throw new \SVGCreator\SVGException("The field " . $field . " does not exist for " . static::TYPE . ".", 1);
  	    		}
  	    	}
  		}
docs: Validates the mandatory attributes
  
  @return void