public function parseBehaviour(\stdClass $block, $search)
    {
        if (!isset($block->behaviour)) {
            return false;
        }
        $behaviours = array();
        foreach (explode(' ', trim($block->behaviour)) as $b) {
            if (strstr($b, ':')) {
                list($name, $prop) = explode(':', $b, 2);
                $behaviours[$name] = $prop;
            } else {
                $behaviours[$b] = true;
            }
        }
        return isset($behaviours[$search]) ? $behaviours[$search] : false;
    }