isMobile() public method

public isMobile ( ) : boolean
return boolean
 public function testIsMobile()
 {
     $ua = new UserAgent();
     $this->assertFalse($ua->isMobile());
     $ua->getDevice()->setIsMobile(false);
     $this->assertFalse($ua->isMobile());
     $ua->getDevice()->setIsMobile(true);
     $this->assertTrue($ua->isMobile());
 }