app/Blueprint/Flags/HasFlagsTrait.php
public function getFlag(string $flag, $default = null) {
		if( !array_key_exists($flag, $this->flags) )
			return $default;
		return $this->flags[$flag];
	}
public function getFlag(string $flag, $default = null) {
		if( !array_key_exists($flag, $this->flags) )
			return $default;
		return $this->flags[$flag];
	}
public function getFlag ( string $ flag , $ default = null ) { if ( ! array_key_exists ( $ flag , $ this -> flags ) ) return $ default ; return $ this -> flags [ $ flag ] ; }
Return the set value for the given flag. If the flag was not set then the given default value is returned

@param string $flag
@param mixed $default
@return null
Return the set value for the given flag . If the flag was not set then the given default value is returned