src/Util/DeepLinkRequest.php
public function acceptType($type) {
        if ( ! isset($this->claim->accept_types) ) return false;
        if ( ! is_array($this->claim->accept_types) ) return false;
        return in_array($type, $this->claim->accept_types);
    }
public function acceptType($type) {
        if ( ! isset($this->claim->accept_types) ) return false;
        if ( ! is_array($this->claim->accept_types) ) return false;
        return in_array($type, $this->claim->accept_types);
    }
public function acceptType ( $ type ) { if ( ! isset ( $ this -> claim -> accept_types ) ) return false ; if ( ! is_array ( $ this -> claim -> accept_types ) ) return false ; return in_array ( $ type , $ this -> claim -> accept_types ) ; }
acceptType - Returns true if the string is in the accept_types

"accept_types": ["link", "file", "html", "ltiResourceLink", "image"],
acceptType - Returns true if the string is in the accept_types