"Is Permission Granted" block not working

Hello, I have a little problem. Whenever I use this same block, the application asks for permissions even if they are not being requested. Is there any way to fix this? I need to check whether a specific permission has been granted or not.

For example: If WRITE_EXTERNAL_STORAGE is true, perform the file download, if not, display a message.