Reconsider some check logic on features

https://github.com/fs/rails-base/issues/201
@airatshigapov, because we use the same code in two different places