protected static function edgeCallableExists(
        array $pack,
        string $name,
        ID $id,
        Direction $direction 
        ): bool
    {
        return !is_null($pack[(string) $direction]->callable_edge_singularLabels) && in_array($name, $pack[(string) $direction]->callable_edge_singularLabels);
    }
protected static function edgeCallableExists(
        array $pack,
        string $name,
        ID $id,
        Direction $direction 
        ): bool
    {
        return !is_null($pack[(string) $direction]->callable_edge_singularLabels) && in_array($name, $pack[(string) $direction]->callable_edge_singularLabels);
    }
protected static function edgeCallableExists ( array $ pack , string $ name , ID $ id , Direction $ direction ) : bool { return ! is_null ( $ pack [ ( string ) $ direction ] -> callable_edge_singularLabels ) && in_array ( $ name , $ pack [ ( string ) $ direction ] -> callable_edge_singularLabels ) ; }
Whether the given method is available for incoming or outgoing edge callables.

@param array $pack Holds incoming and outgoing cargos.
@param string $name Method name. Queried among incoming and outgoing labels.
@param Direction $direction Direction in question; in or out.

@return bool
Whether the given method is available for incoming or outgoing edge callables .