<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_writable_by_others(filename):
 """Check if file or directory is world writable."""

    mode = os.stat(filename)[stat.ST_MODE]
    return mode & stat.S_IWOTH