In areas where storm and sanitary sewers are combined, and there is the risk of flooding and sewage backing up, backwater valves in all basement drains may be mandated by code and definitely are recommended even if not mandated.