You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: disp.m
    path of file: ./repos/chebfun/@spherefun
    
    the code of the file until where you have to start completion: function disp(F)
%DISP   Display a SPHEREFUN to the command line.
% 
% See also DISPLAY.

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.


loose = strcmp(get(0, 'FormatSpacing'), 'loose');


    
function disp(F)
%DISP   Display a SPHEREFUN to the command line.
% 
% See also DISPLAY.

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.


loose = strcmp(get(0, 'FormatSpacing'), 'loose');

% Get display style and remove trivial empty CHEBFUN2 case. 
if ( isempty(F) )
    fprintf('    empty spherefun\n')
    if ( loose )
        fprintf('\n');
    end