checkCustomerExists() protected méthode

protected checkCustomerExists ( $customer )
 protected function checkCustomerExists($customer)
 {
     if (!parent::checkCustomerExists($customer)) {
         return false;
     }
     $customer = $this->gateway()->findCustomer($customer->token)->send()->getData();
     return $customer instanceof Customer;
 }