/**
* Send command
*
* @param Client $client Phue Client
*
* @return bool True if authorized, false if not
*/
public function send(Client $client)
{
// Get response
try {
$client->getTransport()->sendRequest("/api/{$client->getUsername()}");
} catch (UnauthorizedUserException $e) {
return false;
}
return true;
}