Control Flow Large Power - What's the DIfference

For question 1 Large Power it asks you to use an if statement to return either true or false - I missed this and submitted the below code which was marked as correct without using an if statement

def large_power(base, exponent):
  return base ** exponent > 5000

The suggested solution is

def large_power(base, exponent):
  if base ** exponent > 5000:
    return True
  else:
    return False

Is there any functional difference between the two? They both return the correct answers - why would we use an if statement for this problem?

https://www.codecademy.com/paths/data-analyst/tracks/dacp-python-fundamentals/modules/dscp-python-control-flow/articles/python-code-challenges-control-flow

Functionally the returns are the same. The difference is that the first example leverages the truthiness of the expression.