src/Charcoal/Admin/Widget/MapWidget.php
public function hasObj()
    {
        if ($this->obj === null) {
            try {
                $this->obj();
            } catch (InvalidArgumentException $e) {
                return false;
            }
        }

        return !empty($this->obj);
    }
public function hasObj()
    {
        if ($this->obj === null) {
            try {
                $this->obj();
            } catch (InvalidArgumentException $e) {
                return false;
            }
        }

        return !empty($this->obj);
    }
public function hasObj ( ) { if ( $ this -> obj === null ) { try { $ this -> obj ( ) ; } catch ( InvalidArgumentException $ e ) { return false ; } } return ! empty ( $ this -> obj ) ; }
Determine if the widget has a related object.

@return boolean
Determine if the widget has a related object .