try Register
public final static Boolean tryRegister(String selectorKey, Function1<String, Boolean> selector)(source)
Tries to register the given load selector with the given key.
Return
true
if the registration was successful, false
if there was a selector or load selector registered for the given key
Parameters
selector Key
The key (as in key-value pair) to register a load selector for
selector
The load selector instance