private function getChallengeFromExtra($extra)
    {
        return (is_object($extra)
            && isset($extra->challenge_details)
            && is_object($extra->challenge_details)
            && isset($extra->challenge_details->challenge))
            ? json_decode($extra->challenge_details->challenge)
            : false;
    }
private function getChallengeFromExtra($extra)
    {
        return (is_object($extra)
            && isset($extra->challenge_details)
            && is_object($extra->challenge_details)
            && isset($extra->challenge_details->challenge))
            ? json_decode($extra->challenge_details->challenge)
            : false;
    }
private function getChallengeFromExtra ( $ extra ) { return ( is_object ( $ extra ) && isset ( $ extra -> challenge_details ) && is_object ( $ extra -> challenge_details ) && isset ( $ extra -> challenge_details -> challenge ) ) ? json_decode ( $ extra -> challenge_details -> challenge ) : false ; }
Gets the Challenge Message from the extra object
@param $extra
@return bool | \stdClass
Gets the Challenge Message from the extra object