IsNewVoteAllowed Function

Quick stock to determine whether voting is allowed. This doesn't let you fine-tune a reason for not voting, so it's not recommended for lazily telling clients that voting isn't allowed.

bool IsNewVoteAllowed()

Return Value

True if voting is allowed, false if voting is in progress or the cooldown is active.