public function isEmpty($path)
    {
        try {
            $value = $this->get($path);
        } catch (\OutOfBoundsException $e) {
            return true;
        }
        return '' === $value || null === $value;
    }
public function isEmpty($path)
    {
        try {
            $value = $this->get($path);
        } catch (\OutOfBoundsException $e) {
            return true;
        }
        return '' === $value || null === $value;
    }
public function isEmpty ( $ path ) { try { $ value = $ this -> get ( $ path ) ; } catch ( \ OutOfBoundsException $ e ) { return true ; } return '' === $ value || null === $ value ; }
Checks if a value is empty.

@param mixed $path
@return bool
Checks if a value is empty .