Ok, hopefully this is a pretty straight forward question. As the title suggests, is it possible to target the opacity property when using it in an if else statement? If it is how would you go about writing the code?

Could you do something like this, or am I way off?

```
if ($("#someObject").css().opacity == 1) {
    // do this
} else if {$("#someObject").css().opacity == 0){
    // do this instead
};

```