Question about Create is owner policy and graphql

I am using the graphql extension and I want to use the is owner policy .
I read in the docs that you can do it this way Is Owner - Strapi Developer Documentation

Will it will work for graphql too ?