Q:

If Button Pressed

Is it possible to have an If statement that looks if a button has been pressed? 
Thanks a lot! 
    if(ButtonPressedStatement) {
      //Do something
    }

A:

if (button.isSelected) {
        //
    }

Edit
To force button to keep its state, i use:
- (IBAction)ButtonPressed:(UIButton *)sender {
    sender.selected = ![sender isSelected];
}

