public function userCheckedIn()
    {
        $session = $this->getCurrentSession();

        if ($session instanceof WorkOrderSession) {
            return $session->in && is_null($session->out);
        }

        return false;
    }
public function userCheckedIn()
    {
        $session = $this->getCurrentSession();

        if ($session instanceof WorkOrderSession) {
            return $session->in && is_null($session->out);
        }

        return false;
    }
public function userCheckedIn ( ) { $ session = $ this -> getCurrentSession ( ) ; if ( $ session instanceof WorkOrderSession ) { return $ session -> in && is_null ( $ session -> out ) ; } return false ; }
Checks if the user is currently checked into the current work order.

@return bool
Checks if the user is currently checked into the current work order .