It's usually stated when you browse flights, but obviously planes can be substituted before you fly. You can take your chances.
The best plan would be to avoid airlines that own the plane, but that will be impractical for most. Even then you might be re-routed onto another airline or third party plane.