Flag indicating an optional property.

def optional(self):
        """Flag indicating an optional property."""
        value = self._schema.get("optional", False)
        if value is not False and value is not True:
            raise SchemaError(
                "optional value {0!r} is not a boolean".format(value))
        return value