Depending on what kind of coin your mining, if you are mining on altcoins its still worth it without any doubts.
But I think mining on bitcoins is not worth it anymore to be honest.
It depends on the electricity price. If your electricity price is lower than most of the big farms, you can mine.
Electricity rates are important for sure, but it doesn't depend just on that.
It's the combination of many factors that you have to take into consideration when you are planning to start up a (small) mining farm. And yes, electricity is one of these factors.
In order to get yourself in the green (as in making profits), some sort of mining farm is in fact a necessity with the difficulty constantly breaking previous highs.
Another thing is that you need to remain competitive in order to maintain your position at the same levels by adding extra hash gear to your farm.