Python Check If Integer Is Between Two Values