hasSufficientMemory

Checks if the device has sufficient available memory (at least 1 GB and not in a low memory state). This should be checked before initiating any heavy operation.