Yes it is, but it's impossible to enforce because landlords can ask for your drivers license/ID with the application and if you are on a visa your ID says "LIMITED TERM" on it. So they can always say yes or no based on that but pretend it was something else that made them make the choice.