def is_allowed_to_submit(request):
    return not settings.REQUIRE_LOGIN or request.user.is_authenticated()
Extend the basic signal handling logic to also support
dataset/ETHPy150Open nileshk/url-shortener/shortener/views.py/is_allowed_to_submit--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/posixbase.py/PosixReactorBase._handleSignals