/** * Check if given address is user address. * * @return bool */ private function isUserAddress($address) { return isset(Mint\Address::getAddress($address)->user->id) && Mint\Address::getAddress($address)->user->id === $this->user->id; }