How to search for object in group list? - Animation Nodes
You can use the Object By Name node to get the required object. If you want to check if it is in the group, you can use an expression node like this: