How to check if user belongs to specific group in customized form?

So sorry found my answer here: