@nagendras there is no direct way of getting to know if the current User is member of a specific SharePoint group.
You know have two possibilities
1. Create two m365 groups, assign the users to the groups and use the group inside your sharepoint group. In powerapps there is a connector for m365 groups which could be used to get the m365 group members.
2. Create a list on your sharepoint site and name it AppPermissions.
Create one item with Title value = IsDirector.
Break role inheritance for this item and only apply read permissions for the SharePoint directors group. Data entry group should not have access to this item at All.
In your app your will need to add this list as a datasource. In App. OnStart use LookUp() function to get this specific item so something like LookUp(AppPermission, Title ="IsDirector"). If the lookup Returns the item we know the User is in the directors group
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.