I think this check is more appropriate outside of the `performBlock` block.