Hi there,
So I have a SharePoint list called 'Access_Control' which consists of an email and three other fields (TECL, EIECL, Satellite_ECL) as you can see below

I then have a drop-down list which stores the current drop-down option in a variable called ECL_Option.
Finally I have a gallery. I want the gallery's visibility to depend on the drop-down list option and the Access_Control database. If the drop-down option is Transpower, the User's email is in the database and TECL is true then the gallery should be visible otherwise the gallery shouldn't be visible.
My code so far is as follows:
If(ECL_Option="Transpower",
ForAll(Access_Control,
If(Title=User().Email, If( TECL="Yes", true, false)), false))
Here is a photo of the Power Apps screen I am working on:

I just am really struggling with the syntax of this language constantly maybe it is because I am use to object-orientated programming. As well as answering this question if anyone has any possible resources to learn the syntax better and kind of linking/nesting things together smoothly that'd be great. Cheers!