src/Kisma/Core/SeedBag.php
public function contains( $key )
    {
        if ( $key instanceof Interfaces\SeedLike )
        {
            $key = $key->getId();
        }

        return Utility\Option::contains( $this->_bag, $key );
    }
public function contains( $key )
    {
        if ( $key instanceof Interfaces\SeedLike )
        {
            $key = $key->getId();
        }

        return Utility\Option::contains( $this->_bag, $key );
    }
public function contains ( $ key ) { if ( $ key instanceof Interfaces \ SeedLike ) { $ key = $ key -> getId ( ) ; } return Utility \ Option :: contains ( $ this -> _bag , $ key ) ; }
Checks to see if a key is in the bag.

@param string $key

@return bool
Checks to see if a key is in the bag .