Human: What is a good Python function to check if a file is not empty. Assistant: 
Here is a Python function to check if a file is not empty

import os

def is_file_not_empty(file_path):
    """Check if file is not empty."""
    if os.path.isfile(file_path):
        with open(file_path, 'r') as f:
            return len(f.readlines()) > 0
    else:
        return False

# Enter the file path
file_path = '/Users/
Rosey/Desktop/file.txt'

# Calling the function
print((is_file_not_empty(file_path)))

#Example Output
# False

#Remember to inspect code for bugs.