You could make this shorter by returning an empty list instead of None to avoid the truthiness check.