Clinical depression is a mental disability under California law, and thereby a protected medical condition. The bar that Netflix needs to meet is very, very high. Like, operating deadly machinery endangering others while on ketamine. Short of that, no. His employment contract can specify whatever, but state law trumps contracts here. Netflix's lawyer straight up admitted to firing for a protected medical condition.