public function isJsonProperty($property, $throwException = false)
    {
        if(is_string($property) && in_array($property, $this->properties))
            return true;

        if($throwException)
            throw new JsonPropertyException("Requested property '{$property}' is not a valid for '".get_class($this)."'.");

        return false;
    }