Every match I've ever been to say they need to be in a safe condition. Safe condition being described as either hot with safety engaged or totally empty.
Striker fired pistols being the exception due to no external safety on them and the internal safeties they have.
Different matches have different rules, make sure to check the match director for your match for any local regulations.