Returns whether the format contains an optional argument.
public hasOptionalArgument ( boolean $includeBase = true ) : boolean | ||
$includeBase | boolean | Whether to include arguments in the base format in the search. |
return | boolean | Returns `true` if the format contains an optional argument and `false` otherwise. |