protected function hasTargetedBinding(string $interface, string $target = null) : bool
    {
        return isset($this->bindings[$target][$interface]);
    }
protected function hasTargetedBinding(string $interface, string $target = null) : bool
    {
        return isset($this->bindings[$target][$interface]);
    }
protected function hasTargetedBinding ( string $ interface , string $ target = null ) : bool { return isset ( $ this -> bindings [ $ target ] [ $ interface ] ) ; }
Gets whether or not a targeted binding exists

@param string $interface The interface to check
@param string|null $target The target whose bindings we're checking
@return bool True if the targeted binding exists, otherwise false
Gets whether or not a targeted binding exists