src/Parser/Parse.php
private function isValidDeltaJson($quill_json): bool
    {
        if (is_array($quill_json) === false) {
            return false;
        }
        if (count($quill_json) === 0) {
            return false;
        }
        if (array_key_exists('ops', $quill_json) === false) {
            return false;
        }

        return true;
    }
private function isValidDeltaJson($quill_json): bool
    {
        if (is_array($quill_json) === false) {
            return false;
        }
        if (count($quill_json) === 0) {
            return false;
        }
        if (array_key_exists('ops', $quill_json) === false) {
            return false;
        }

        return true;
    }
private function isValidDeltaJson ( $ quill_json ) : bool { if ( is_array ( $ quill_json ) === false ) { return false ; } if ( count ( $ quill_json ) === 0 ) { return false ; } if ( array_key_exists ( 'ops' , $ quill_json ) === false ) { return false ; } return true ; }
Checks the delta json is valid and can be decoded

@param $quill_json Quill json string

@return boolean
Checks the delta json is valid and can be decoded