It'd be a bit more readable to move these conditions into a few variables and then collapsing this multi-line conditional into a single line.