Detect if require available on root object