<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _maybe_fill(arr, fill_value=np.nan):
 """ if we have a compatible fill_value and arr dtype, then fill """

    if _isna_compat(arr, fill_value):
        arr.fill(fill_value)
    return arr